import { Module } from '@nestjs/common';
import { PassportModule } from '@nestjs/passport';

import { DemandController } from './demand.controller';
import { DemandService } from './demand.service';
import { DatabaseModule } from '../database/database.module';
import { DemandProviders } from './schema/demand.providers';
import { TeamModule } from '@/team/team.module';

@Module({
  imports: [
    PassportModule.register({ defaultStrategy: 'jwt' }),
    DatabaseModule,
    TeamModule
  ],
  controllers: [DemandController],
  providers: [DemandService, ...DemandProviders]
})
export class DemandModule {}
